<template>
  <div>
    <h4>...路径img</h4>
    <img src="../../src/assets/logo.png"/>
    <h4>@路径img</h4>
    <img src="@/assets/logo.png"/>
    <h4>网络路径img</h4>
    <img src="https://v2.cn.vuejs.org/images/logo.svg"/>
    <h4>...路径my-image</h4>
    <my-image src="../../src/assets/logo.png"/>
    <h4>@路径my-image</h4>
    <my-image src="/src/assets/myImage/肌肉派蒙.png"/>
    <my-image src="../../src/assets/myImage/肌肉派蒙.png"/>
    <h4>网络路径img</h4>
    <my-image src="https://v2.cn.vuejs.org/images/logo.svg"/>
  </div>
</template>

<script>
import myImage from '@/components/image'

export default {
  name: "dynamicImg",
  components: {myImage},
  data() {
    return {
      imgSrc: '@/assets/logo.png'
    }
  }
}
</script>

<style scoped>
img {
  width: 200px;
  height: 200px;
}
</style>
